package com.ruoyi.system.event;

import com.ruoyi.system.domain.SysWhitePaperSurveyTask;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * 异步事件
 */
public class WhitePaperSurveyTaskEvent extends ApplicationEvent {
    // 项目ID
    private List<SysWhitePaperSurveyTask> whitePaperSurveyTaskList;

    public WhitePaperSurveyTaskEvent(Object source,List<SysWhitePaperSurveyTask> whitePaperSurveyTaskList) {
        super(source);

        this.whitePaperSurveyTaskList = whitePaperSurveyTaskList;
    }

    public List<SysWhitePaperSurveyTask> getWhitePaperSurveyTaskList() {
        return whitePaperSurveyTaskList;
    }
}
